package com.zhigh.urule.quickstart.urule.constant;

public enum Gender {
    MAN("男", true),
    WOMAN("女", false);

    private final String label;
    private final boolean flag;

    Gender(String name, boolean flag) {
        this.label = name;
        this.flag = flag;
    }

    public String getLabel() {
        return label;
    }

    public boolean isFlag() {
        return flag;
    }
}
